home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 2
/
Wayzata's Best of Shareware 2.0 (Windows) (Wayzata Technology)(7112)(1994).bin
/
pc
/
windows
/
food
/
fscr21
/
makezips.bat
< prev
next >
Wrap
DOS Batch File
|
1993-06-28
|
3KB
|
56 lines
@Echo off
Cls
Echo ┌──────────────────────────────────────────────────────────────────────┐
Echo │ FROM SCRATCH ZIP FILE UTILITY │
Echo │ FOR USE BY VENDORS AND SYSOPS │
Echo ├──────────────────────────────────────────────────────────────────────┤
Echo │ This batch file will create two ZIP files: │
Echo │ FSCR21.ZIP - From Scratch version 2.1 (no conversion pgm) │
Echo │ FSCNVT21.ZIP - From Scratch conversion pgm (requires above) │
Echo │ │
Echo │ This will allow users to download and/or order diskettes for only │
Echo │ the files they require. │
Echo │ Either zip file will fit on a single 360K diskette. │
Echo │ │
Echo │ The following assumptions are made: │
Echo │ * PKZIP.EXE is available in your search path. │
Echo │ * All the files from the FROM SCRATCH distribution diskette are in │
Echo │ the current directory. │
Echo │ * You have supplied the destination directory for the .ZIP files, │
Echo │ i.e. MAKEZIPS C:\ZIPS or MAKEZIPS C: │
Echo ├──────────────────────────────────────────────────────────────────────┤
Echo │ Press CTRL-C to abort, or │
Echo └──────────────────────────────────────────────────────────────────────┘
Pause
IF A%1A==AA GOTO NOPARAM
IF not exist Scratch.ex_ GOTO NotDefDir
IF exist %1\fscr21.zip DEL %1\FScr21.zip
IF exist %1\fscnvt21.zip DEL %1\fscnvt21.zip
Copy Setup.ini Complete.ini > nul
Copy zip1.ini Setup.ini > nul
Pkzip %1\Fscr21.zip @Fscr21.lst -z < Fscr21.zcm
Copy Read.me Complete.rme > nul
Copy Fscnvt21.rme read.me > nul
Copy File_id.diz Complete.diz > nul
Copy Fscnvt21.diz file_id.diz > nul
Copy zip2.ini Setup.ini > nul
Pkzip %1\FScnvt21.zip @Fscnvt21.lst -z < Fscnvt21.zcm
Copy Complete.rme read.me > nul
Copy Complete.diz File_id.diz > nul
Copy Complete.ini setup.ini > nul
del complete.*
Dir %1\*.zip
Echo Done!
GOTO End
:NoParam
Echo You must supply a destination directory!
Echo i.e. MakeZips \Zips
Echo or
Echo MakeZips c:
Echo Do not include ending backslash in destination pathname...
GOTO End
:NotDefDir
Echo The From Scratch files are not in the current path!
GOTO End
:End